package com.one.consumer.main.model.item;

import com.one.common.common.order.MaterialItem;
import com.one.common.model.bean.UserInfoBean;
import com.one.common.view.multitytype.adapter.BaseItem;
import com.one.consumer.main.model.bean.MaintailOrderAddressBean;

import java.util.List;

/**
 * author ：zhulunjun
 * email  ：zhulunjun@qq.com
 * date   ：2018/10/21 下午4:16
 * description ：
 **/
public class OrderItem extends BaseItem{

    private int order_id;//

    private String member_id;//下单人id

    private String worker_id;//师傅id

    private String order_no;//订单号

    private String order_state;//0:已取消 1:待指派  2:待上门  3:等待确认服务  4:待付款  5:已付款

    private String order_state_show;

    private String accept_state;//后台指派出去 师傅接受状态  默认是接受  师傅可以拒绝  1:接受 2:拒绝

    private String accept_state_show;

    private String assessment_state;//评价状态 1:未评价 2:已评价

    private String assessment_state_show;//

    private String order_price;//订单价格  师傅添加完材料计算得到

    private String maintail_remark;//维修问题描述

    private String maintail_imgs;//维修图片路径 多张用逗号隔开

    private String parts_ids;//维修部位id 多个逗号隔开

    private String parts_names;//维修部位名称 多个逗号隔开

    private String service_start_time;//服务开始时间

    private String service_end_time;//服务结束时间

    private String is_guarantee;//是否报修 0:不保 1:保修

    private String is_guarantee_show;//
    private String invoice_state;//1：未申请 2：已申请

    private String is_delete;//

    private String create_time;

    private String update_time;

    private String cancel_time;//取消订单时间

    private MaintailOrderAddressBean maintailOrderAddressBean;//维修地址
    private UserInfoBean workerBean; //维修师傅

    private List<MaterialItem> maintailOrderMaterialBeans;//材料列表


    public UserInfoBean getMemberWorkerBean() {
        return workerBean;
    }

    public void setMemberWorkerBean(UserInfoBean memberWorkerBean) {
        this.workerBean = memberWorkerBean;
    }

    public String getInvoice_state() {
        return invoice_state;
    }

    public void setInvoice_state(String invoice_state) {
        this.invoice_state = invoice_state;
    }

    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public String getMember_id() {
        return member_id;
    }

    public void setMember_id(String member_id) {
        this.member_id = member_id;
    }

    public String getWorker_id() {
        return worker_id;
    }

    public void setWorker_id(String worker_id) {
        this.worker_id = worker_id;
    }

    public String getOrder_no() {
        return order_no;
    }

    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    public String getOrder_state() {
        return order_state;
    }

    public void setOrder_state(String order_state) {
        this.order_state = order_state;
    }

    public String getOrder_state_show() {
        return order_state_show;
    }

    public void setOrder_state_show(String order_state_show) {
        this.order_state_show = order_state_show;
    }

    public String getAccept_state() {
        return accept_state;
    }

    public void setAccept_state(String accept_state) {
        this.accept_state = accept_state;
    }

    public String getAccept_state_show() {
        return accept_state_show;
    }

    public void setAccept_state_show(String accept_state_show) {
        this.accept_state_show = accept_state_show;
    }

    public String getAssessment_state() {
        return assessment_state;
    }

    public void setAssessment_state(String assessment_state) {
        this.assessment_state = assessment_state;
    }

    public String getAssessment_state_show() {
        return assessment_state_show;
    }

    public void setAssessment_state_show(String assessment_state_show) {
        this.assessment_state_show = assessment_state_show;
    }

    public String getOrder_price() {
        return order_price;
    }

    public void setOrder_price(String order_price) {
        this.order_price = order_price;
    }

    public String getMaintail_remark() {
        return maintail_remark;
    }

    public void setMaintail_remark(String maintail_remark) {
        this.maintail_remark = maintail_remark;
    }

    public String getMaintail_imgs() {
        return maintail_imgs;
    }

    public void setMaintail_imgs(String maintail_imgs) {
        this.maintail_imgs = maintail_imgs;
    }

    public String getParts_ids() {
        return parts_ids;
    }

    public void setParts_ids(String parts_ids) {
        this.parts_ids = parts_ids;
    }

    public String getParts_names() {
        return parts_names;
    }

    public void setParts_names(String parts_names) {
        this.parts_names = parts_names;
    }

    public String getService_start_time() {
        return service_start_time;
    }

    public void setService_start_time(String service_start_time) {
        this.service_start_time = service_start_time;
    }

    public String getService_end_time() {
        return service_end_time;
    }

    public void setService_end_time(String service_end_time) {
        this.service_end_time = service_end_time;
    }

    public String getIs_guarantee() {
        return is_guarantee;
    }

    public void setIs_guarantee(String is_guarantee) {
        this.is_guarantee = is_guarantee;
    }

    public String getIs_guarantee_show() {
        return is_guarantee_show;
    }

    public void setIs_guarantee_show(String is_guarantee_show) {
        this.is_guarantee_show = is_guarantee_show;
    }

    public String getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(String is_delete) {
        this.is_delete = is_delete;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getCancel_time() {
        return cancel_time;
    }

    public void setCancel_time(String cancel_time) {
        this.cancel_time = cancel_time;
    }

    public MaintailOrderAddressBean getMaintailOrderAddressBean() {
        return maintailOrderAddressBean;
    }

    public void setMaintailOrderAddressBean(MaintailOrderAddressBean maintailOrderAddressBean) {
        this.maintailOrderAddressBean = maintailOrderAddressBean;
    }

    public List<MaterialItem> getMaintailOrderMaterialBeans() {
        return maintailOrderMaterialBeans;
    }

    public void setMaintailOrderMaterialBeans(List<MaterialItem> maintailOrderMaterialBeans) {
        this.maintailOrderMaterialBeans = maintailOrderMaterialBeans;
    }
}
